package org.qloudgen.borg.beans;

import java.io.Serializable;

public class KeyValue implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String key;
	private String value;
	
	public KeyValue(){
		
	}
	
	public KeyValue(String key, String value){
		this.setKey(key);
		this.setValue(value);
	}
	
	/**
	 * @return the key
	 */
	public String getKey() {
		return key;
	}
	
	/**
	 * @param key the key to set
	 */
	public KeyValue setKey(String key) {
		this.key = key;
		return this;
	}
	
	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}
	
	/**
	 * @param value the value to set
	 */
	public KeyValue setValue(String value) {
		this.value = value;
		return this;
	}

	public String toString(){
		
		return this.getKey() + ":" + this.getValue();
		
	}
}
